Pod::Spec.new do |spec|
    spec.name             = 'ACComponentShareGsjc'
    spec.version          = '2.0.1'
    spec.license          = { :type => 'MIT' }
    spec.homepage         = 'https://git.linewellcloud.com'
    spec.authors          = { 'linewell' => 'chengshitong@linewell.com' }
    spec.summary          = '城市通2.0 - 组件库ACComponentShareGsjc'
    spec.source           = { :http => 'https://gitee.com/lwhlw/ios_gsjc_framework_zip/raw/master/release/JCSDK/ACComponentShareGsjc.zip'}
    spec.vendored_frameworks = '*.framework'
    spec.platform     = :ios, '9.0'
    spec.ios.deployment_target = '9.0'
    spec.swift_version    = '4.0'
    spec.requires_arc = true
    
    spec.dependency       'ACEngineLib'
    #spec.dependency       'ACComponentItemLib'

    spec.pod_target_xcconfig = {
    	'OTHER_LDFLAGS'  => '-ObjC'
    }

  spec.subspec 'WechatSDK' do |sss|
    sss.source_files            = 'Libs/SocialLibraries/WeChat/WechatSDK/*.{h,m}'
    sss.framework               = 'CoreTelephony', 'SystemConfiguration', 'WebKit', 'Photos', 'ImageIO'
    sss.ios.vendored_library    = 'Libs/SocialLibraries/WeChat/WechatSDK/*.a'
    sss.ios.public_header_files   = 'Libs/SocialLibraries/WeChat/WechatSDK/*.{h}'
    sss.libraries = 'sqlite3', 'z', 'sqlite3', 'c++'
  end
end
